export default {
  data () {
    return {
      payPassages: [
        { label: '主扫', value: '1' },
        { label: '被扫', value: '2' },
        { label: '公众号', value: '3' },
        { label: '小程序', value: '5' },
        { label: '对公转账', value: '7' },
        { label: '现金', value: '8' },
        { label: 'POS刷卡', value: '9' },
        { label: '老POS刷卡', value: '10' }
      ],
      cmbPayPassages: [
        { label: '主扫', value: '1' },
        { label: '被扫', value: '2' },
        { label: '公众号', value: '3' },
        { label: '小程序', value: '5' },
        { label: 'POS刷卡', value: '9' }
      ],
      payways: [
        { label: '微信', value: '1' },
        { label: '支付宝', value: '2' },
        { label: 'POS刷卡', value: '3' },
        { label: '现金', value: '4' },
        { label: '对公转账', value: '5' },
        { label: '老POS刷卡', value: '6' }
      ],
      payPassageTypeLists: [
        {
          value: '1',
          label: '主扫',
          children: [
            {
              label: '微信',
              value: 'weixin',
              children: [{ label: '微信', value: '1' }]
            },
            {
              label: '支付宝',
              value: 'alipay',
              children: [{ label: '支付宝', value: '2' }]
            },
            {
              label: '招商银行',
              value: 'cmb',
              children: [
                { label: '微信', value: '1' },
                { label: '支付宝', value: '2' }
              ]
            }
          ]
        },
        {
          value: '2',
          label: '被扫',
          children: [
            {
              label: '微信',
              value: 'weixin',
              children: [{ label: '微信', value: '1' }]
            },
            {
              label: '支付宝',
              value: 'alipay',
              children: [{ label: '支付宝', value: '2' }]
            },
            {
              label: '招商银行',
              value: 'cmb',
              children: [
                { label: '微信', value: '1' },
                { label: '支付宝', value: '2' }
              ]
            }
          ]
        },
        {
          value: '3',
          label: '公众号',
          children: [
            {
              label: '微信',
              value: 'weixin',
              children: [{ label: '微信', value: '1' }]
            },
            {
              label: '招商银行',
              value: 'cmb',
              children: [
                { label: '微信', value: '1' }
              ]
            }
          ]
        },
        {
          value: '5',
          label: '小程序',
          children: [
            {
              label: '微信',
              value: 'weixin',
              children: [{ label: '微信', value: '1' }]
            },
            {
              label: '招商银行',
              value: 'cmb',
              children: [
                { label: '微信', value: '1' }
              ]
            }
          ]
        },
        {
          value: '7',
          label: '对公转账',
          children: [
            {
              label: '',
              value: '',
              children: [{ label: '对公转账', value: '5' }]
            }
          ]
        },
        {
          value: '8',
          label: '现金',
          children: [
            {
              label: '',
              value: '',
              children: [{ label: '现金', value: '4' }]
            }
          ]
        },
        {
          value: '9',
          label: 'POS刷卡',
          children: [
            {
              label: '招商银行',
              value: 'cmb',
              children: [{ label: 'POS刷卡', value: '3' }]
            }
          ]
        },
        {
          value: '10',
          label: '老POS刷卡',
          children: [
            {
              label: '',
              value: '',
              children: [{ label: '老POS刷卡', value: '6' }]
            }
          ]
        }
      ]
    }
  }
}
